package com.zzy.vod.utils;

import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.profile.DefaultProfile;

/**
 * @Author KAZU
 * @Date 2023/1/16 14:57
 * @Version 1.0
 */
@SuppressWarnings({"all"})
public class InitVodClient {
	
	public static DefaultAcsClient initVodClient(String accessKeyId, String accessKeySecret) {
		String regionId = "cn-shanghai";
		DefaultProfile profile = DefaultProfile.getProfile(regionId, accessKeyId, accessKeySecret);
		DefaultAcsClient client = new DefaultAcsClient(profile);
		return client;
	}
	
}
